package notes.java.sjms23.s8_template;

// 实现类，员工的生活
public class EmpLife extends LifeTemplate{

    @Override
    public void getUp() {
        System.out.println("起床吃早点！");
    }

    @Override
    public void goToWork() {
        System.out.println("坐公交上班！");
    }

    @Override
    public void work() {
        System.out.println("干活！");
    }

    @Override
    public void goHome() {
        System.out.println("坐公交回家！");
    }

}
